package trlygjj.tanruiliyigenjinjin.mapper;

import trlygjj.tanruiliyigenjinjin.domain.Salary;
import trlygjj.tanruiliyigenjinjin.query.QueryObject;

import java.util.List;

public interface SalaryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Salary record);

    Salary selectByPrimaryKey(Long id);

    List<Salary> selectAll();

    int updateByPrimaryKey(Salary record);

    int queryForCount(QueryObject qo);

    List<Salary> queryForList(QueryObject qo);

    List<Salary> selectByCurrentEmployee(QueryObject qo);

    Salary selectByEmployeeId(Long employeeId);
}